package net.xdclass.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.xdclass.controller.request.AccountLoginRequest;
import net.xdclass.controller.request.AccountRegisterRequest;
import net.xdclass.model.AccountDO;
import net.xdclass.util.JsonData;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小冯
 * @since 2023-06-18
 */
public interface AccountService extends IService<AccountDO> {

    JsonData register(AccountRegisterRequest request);

    JsonData login(AccountLoginRequest request);
}
